// samsting : this file is auto create.

#include "Ecs/2014-05-26/AllocatePublicIpAddressRequest.h"

namespace aliyun { namespace Ecs {

AllocatePublicIpAddressRequest::AllocatePublicIpAddressRequest() : RpcAcsRequest("Ecs", "2014-05-26", "AllocatePublicIpAddress") {
}

int64 AllocatePublicIpAddressRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void AllocatePublicIpAddressRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& AllocatePublicIpAddressRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void AllocatePublicIpAddressRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 AllocatePublicIpAddressRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void AllocatePublicIpAddressRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& AllocatePublicIpAddressRequest::GetInstanceId(void) const {
  return InstanceId_;
}
void AllocatePublicIpAddressRequest::SetInstanceId(const string& InstanceId) {
  InstanceId_ = InstanceId;
  PutQueryParameter("InstanceId", InstanceId_);
}

const string& AllocatePublicIpAddressRequest::GetIpAddress(void) const {
  return IpAddress_;
}
void AllocatePublicIpAddressRequest::SetIpAddress(const string& IpAddress) {
  IpAddress_ = IpAddress;
  PutQueryParameter("IpAddress", IpAddress_);
}

const string& AllocatePublicIpAddressRequest::GetVlanId(void) const {
  return VlanId_;
}
void AllocatePublicIpAddressRequest::SetVlanId(const string& VlanId) {
  VlanId_ = VlanId;
  PutQueryParameter("VlanId", VlanId_);
}

const string& AllocatePublicIpAddressRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void AllocatePublicIpAddressRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
